package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TSetmealCheckgroupMapper;
import com.hu.zhcc.shiro.entity.lgx.TSetmealCheckgroup;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TSetmealCheckgroupServiceImpl implements TSetmealCheckgroupService {
    @Autowired
    TSetmealCheckgroupMapper tSetmealCheckgroupMapper;
    @Override
    public int deleteByPrimaryKey(TSetmealCheckgroup key) {
        return tSetmealCheckgroupMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int insert(TSetmealCheckgroup record) {
        return tSetmealCheckgroupMapper.insert(record);
    }

    @Override
    public int insertSelective(TSetmealCheckgroup record) {
        return tSetmealCheckgroupMapper.insertSelective(record);
    }

    @Override
    public TSetmealCheckgroup selectByPrimaryKey(TSetmealCheckgroup key) {
        return tSetmealCheckgroupMapper.selectByPrimaryKey(key);
    }

    @Override
    public int updateByPrimaryKeySelective(TSetmealCheckgroup record) {
        return tSetmealCheckgroupMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TSetmealCheckgroup record) {
        return tSetmealCheckgroupMapper.updateByPrimaryKeySelective(record);
    }
}
